#include "hugeint.h"
#include <iostream>

int main(int argc, const char *argv[])
{
    string str1, str2;

    cout << "Please Input Two Numbers (Input EOF to Quit):" << endl;

    while (cin >> str1 >> str2)
    {
		HugeInteger int1 (str1.c_str ());
		cout << str1 << " + " << str2 << " = ";
        int1.add (str2.c_str ()).output ();
		cout << endl << "is " << str1 << " equal to " << str2 << " :";
		cout << boolalpha << int1.is_equal_to (str2.c_str()) << endl;
		cout << "is " << str1 << " greater than " << str2 << " :";
		cout << boolalpha << int1.is_greater_than (str2.c_str()) << endl;

		cout << endl << "Please Input Two Numbers (Input EOF to Quit):" << endl;
    }

    return 0;
}
